package com.freedom.mediaplayer.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

import com.freedom.mediaplayer.R;
import com.freedom.mediaplayer.view.LrcView;

public class LrcPage extends BaseFragment {
	public static LrcView lrcView;
	public static final String SHOW_LRC = "com.freedom.action.SHOW_LRC"; // 通知显示歌词
	@Override
	public View initView(LayoutInflater inflater) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.fragment03, null);
		lrcView = (LrcView) view.findViewById(R.id.lrcShowView);
		return view;
	}

	@Override
	public void initData(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		Intent intent = new Intent();
		intent.setAction(SHOW_LRC);
		//intent.putExtra("curPosition", 3);
		ct.sendBroadcast(intent);
	}

}
